import waveRequest from "@/api/request.js";

export const commentSave = (data) => waveRequest({
    method: 'post',
    url: '/comment/save',
    data
})

export const commentDelete = (ids) => waveRequest({
    url: '/comment/delete',
    method: 'post',
    data: {ids: ids}
})

export const commentModify = (data) => waveRequest({
    url: '/comment/modify',
    method: 'post',
    data
})

export const commentQuery = (data) => waveRequest({
    url: '/comment/query',
    method: 'post',
    data
})

export const commentList = (data) => waveRequest({
    url: '/comment/list',
    method: 'post',
    data
})

export const commentPage = (data) => waveRequest({
    url: '/comment/page',
    method: 'post',
    data
})